package com.myblog.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Tag {
    private Integer id;
    private String tagName;
    private Integer tagSize;

    public Tag(String newArticleTag, int tagSize) {
        this.tagName = newArticleTag;
        this.tagSize = tagSize;
    }
}
